package com.francis.demo.service.impl;

import com.francis.demo.service.IQueryService;
import com.francis.spring.framework.annotation.FrancisService;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author Francis
 * @Date 2020/11/15 18:36
 * @Version 1.0
 * @Description:
 */
@FrancisService
@Slf4j
public class QueryService implements IQueryService {
    @Override
    public String query(String name) {
        log.info("ldadaldladslald");
        return "hello";
    }

    @Override
    public void thorws(String name) throws Exception{
        throw new Exception("测试异常");
    }
}
